package simulation.bankSim;


/*
 * 银行账户类
 * 
 * */
public class Account {
	private String cardNo; // 卡号
	private int amount; // 余额
	private Customer customer; // 用户
	private String password; // 密码
	
	public Account(String cardNo, int amount, Customer customer, String password) {
		super();
		this.cardNo = cardNo;
		this.amount = amount;
		this.customer = customer;
		this.password = password;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	
}
